package com.siwei.mes.mapper.erp;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.erp.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Customer)表数据库访问层
 *
 * @author linzi
 * @since 2024-08-14 22:17:51
 */
public interface CustomerMapper extends BaseMapper<Customer> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<Customer> getList(Customer entity);

    /**
     * 根据id获取
     *
     * @param cusId
     * @return
     */
    Customer loadByCusID(@Param("cusId") Integer cusId);
}
